<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Flowbook_Functions
 *
 * @author Samuel Pulta
 */
class Flowbook_Functions extends Campaign_Functions {

    
    public function options_set($db,$array = array()){
        $ret = "";
        $query = $db->query("SELECT * FROM " . $db->tbl_name(TB_BRAND_CATEGORY),"array");
        
        foreach($query as $data){
            
            if($array['type'] == "options" && $array['category'] == "brand"){
                $ret .= '<option value="' . $data['id'] . '">' . $data['brand_title'] . '</option>';
            }
            
        }
    
        return $ret;
    
    }

    
}

?>
